package com.xk.school_device.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xk.school_device.entity.Assignments;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface AssignmentsMapper extends BaseMapper<Assignments> {

    Assignments getUserName(String deviceId);

    void updateAssignmentStatusByDeviceId(String deviceId, String status);
}
